package com.yanqu.road.entity.activity.foxcard;

public class FoxSaleCard {
    private int id; //唯一id
    private int configId; //配置id 手牌配置id是0
    private int price; //价格
    private int type; //t_s_activity_fox_shop里的type
    private int point; //点数
    private int color; //花色
    private int reinforceEffect; //强化效果
    private int versionEffect; //版本效果
    private int sealEffect; //印章效果

    public FoxSaleCard() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getConfigId() {
        return configId;
    }

    public void setConfigId(int configId) {
        this.configId = configId;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        if (price < 0) {
            price = 0;
        }
        this.price = price;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getPoint() {
        return point;
    }

    public void setPoint(int point) {
        this.point = point;
    }

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    public int getReinforceEffect() {
        return reinforceEffect;
    }

    public void setReinforceEffect(int reinforceEffect) {
        this.reinforceEffect = reinforceEffect;
    }

    public int getVersionEffect() {
        return versionEffect;
    }

    public void setVersionEffect(int versionEffect) {
        this.versionEffect = versionEffect;
    }

    public int getSealEffect() {
        return sealEffect;
    }

    public void setSealEffect(int sealEffect) {
        this.sealEffect = sealEffect;
    }

    public FoxSaleCard clone() {
        FoxSaleCard card = new FoxSaleCard();
        card.setId(this.getId());
        card.setConfigId(this.getConfigId());
        card.setPrice(this.getPrice());
        card.setType(this.getType());
        card.setPoint(this.getPoint());
        card.setColor(this.getColor());
        card.setReinforceEffect(this.getReinforceEffect());
        card.setVersionEffect(this.getVersionEffect());
        card.setSealEffect(this.getSealEffect());
        return card;
    }
}
